package com.ems.pojo.data;

/**
 * @Auther: 伟伟
 * @Date: 2019/10/4
 * @Description: 描述
 * @Version: 1.0
 */
public class RetunResult {
    //无返回值
    public static ResultData AssemblyData(){
        return new ResultData(200);
    }

    public static ResultData AssemblyData(String message){
        return new ResultData(500,message);
    }

    public static ResultData AssemblyData(Object data){
        return new ResultData(200,data);
    }

    public static ResultData AssemblyData(int code,Object data){
        return new ResultData(code,data);
    }

}
